package com.vcms.cms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Sensitivity entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sensitivity", catalog = "vcms_0.1")
public class Sensitivity implements java.io.Serializable {

	// Fields

	private Integer sensitivityId;
	private String word;
	private String replaceWord;

	// Constructors

	/** default constructor */
	public Sensitivity() {
	}

	/** full constructor */
	public Sensitivity(String word, String replaceWord) {
		this.word = word;
		this.replaceWord = replaceWord;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "sensitivityId", unique = true, nullable = false)
	public Integer getSensitivityId() {
		return this.sensitivityId;
	}

	public void setSensitivityId(Integer sensitivityId) {
		this.sensitivityId = sensitivityId;
	}

	@Column(name = "word", length = 100)
	public String getWord() {
		return this.word;
	}

	public void setWord(String word) {
		this.word = word;
	}

	@Column(name = "replaceWord", length = 100)
	public String getReplaceWord() {
		return this.replaceWord;
	}

	public void setReplaceWord(String replaceWord) {
		this.replaceWord = replaceWord;
	}

}